// 歌手接口
import request from "./http";

// 获取排行版歌单
// /artist/list?type=1&area=96&initial=b
export function getArtistlist(params){
    return request({
        url:"/artist/list",
        method:"get",
        params
    })
}

//歌手
export function getArtistDesc(params){
    return request({
        url:"/artist/detail",
        method:"get",
        params
    })
}

//歌手单曲
export function getArtists(params){
    return request({
        url:"/artists",
        method:"get",
        params
    })
}

//歌手专辑
export function getArtistAlbum(params){
    return request({
        url:"/artist/album",
        method:"get",
        params
    })
}

//专辑内容
export function getAlbum(params){
    return request({
        url:"/album",
        method:"get",
        params
    })
}

//歌手视频
export function getArtistMv(params){
    return request({
        url:"/artist/mv",
        method:"get",
        params
    })
}

//视频播放
export function getMvUrl(params){
    return request({
        url:"/mv/url",
        method:"get",
        params
    })
}

//收藏与取消专辑
export function getAlbumSub(params){
    return request({
        url:"/like",
        method:"get",
        params
    })
}

//点赞
export function getCommentMusic(params){
    return request({
        url:"/comment/music",
        method:"get",
        params
    })
}

//发送评论
export function getComment(params){
    return request({
        url:"/comment",
        method:"get",
        params
    })
}

//评论点赞
export function getCommentLike(params){
    return request({
        url:"/comment/like",
        method:"get",
        params
    })
}

//视频点赞
export function getResourceLike(params){
    return request({
        url:"/resource/like",
        method:"get",
        params
    })
}
